<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" min="0" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" min="0" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[plan_time]" type="text" value="{$row.plan_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_project')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_project" class="form-control" name="row[plan_project]" type="text" value="{$row.plan_project|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_place')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_place" class="form-control" name="row[plan_place]" type="text" value="{$row.plan_place|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lecturer')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lecturer" class="form-control" name="row[lecturer]" type="text" value="{$row.lecturer|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_target_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_target_ids" data-rule="required" data-source="plan/target/index" data-multiple="true" class="form-control selectpage" name="row[plan_target_ids]" type="text" value="{$row.plan_target_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_target_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_target_content" class="form-control" name="row[plan_target_content]" type="text" value="{$row.plan_target_content|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
